<div>
    <div ng-if="!shortFirst" style="padding-right: 15px;">
        <div ng-repeat="col in cols track by col" class="js-col paddingRight0">
            <div ng-repeat="elem in list track by elem[elemKey]" ng-if="$index % cols.length === col">
                <div ng-transclude></div>
            </div>
        </div>
    </div>
    <div ng-if="shortFirst" style="padding-right: 15px;">
        <div ng-repeat="col in cols track by col" class="js-col paddingRight0">
            <div ng-repeat="elem in columns[col].list track by elem[elemKey]">
                <div ng-transclude></div>
            </div>
        </div>
    </div>
</div>
